package com.gs.process.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shallowUniverse.utils.annotation.Query;
import com.shallowUniverse.utils.pojo.QueryType;
import lombok.Data;

import java.util.List;

/**
 * @author gs
 * @date create in 2020/12/11 15:13
 */
@Data
@TableName("ps_process")
public class Process {
    @TableId(type = IdType.INPUT)
    private Long sid;
    @Query(QueryType.LIKE)
    private String name;
    private String remark;
    private String createDate;

    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;

    @TableField(exist = false)
    private List<ProcessNode> processNodes;
}
